package com.eliota.controller.dto;

import com.eliota.entity.Menu;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author M.G
 * @create 2023-03-25 13:36
 * @date 2023/3/25 13:36
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {

    private String userName;
    private String password;
    private String nikeName;
    private String avatar;
    //返回的token
    private String token;

    //人员角色标识
    private String role;
    //人员被分配的菜单
    private List<Menu> menus;
}
